package com.ruoyi.topInsectImg.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/** 基地实体类
 * @author Mr-Le
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class StationList extends BaseEntity {

    /** 终端、站点地址 */
    private String address;

    /** 所属地区的编码 */
    private Integer areaId;

    /** 纬度 */
    private Long latitude;

    /** 经度 */
    private Long longitude;

    /** 站点或终端名称 */
    private String name;

    /** 图片地址 */
    private String picUrl;

    /** 站点编号*/
    private Integer stationId;

    /** 单位ID */
    private Integer unitId;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("address", getAddress())
                .append("areaId", getAreaId())
                .append("latitude", getLatitude())
                .append("longitude", getLongitude())
                .append("name", getName())
                .append("picUrl", getPicUrl())
                .append("stationUrl", getStationId())
                .append("unitId", getUnitId())
                .toString();
    }
}


